<{php}>
$mod = $GLOBALS['xoopsModule'];
$dirname = (isset($mod) ? $mod->getVar('dirname') :'system');
$GLOBALS['xoopsTpl']->assign( 'xoops_cmod', $dirname );
$GLOBALS['xoopsTpl']->assign('XOOPS_URL_SSL',XOOPS_URL_SSL);
$GLOBALS['xoopsTpl']->assign('XOOPS_URL_NON_SSL',XOOPS_URL_NON_SSL);
$GLOBALS['xoopsTpl']->assign('PORT',PORT);
<{/php}>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<{$xoops_langcode}>" lang="<{$xoops_langcode}>">
<head>
<meta http-equiv="content-type" content="text/html; charset=<{$xoops_charset}>" />
<meta http-equiv="content-language" content="<{$xoops_langcode}>" />
<meta name="robots" content="<{$xoops_meta_robots}>" />
<meta name="keywords" content="<{$xoops_meta_keywords}>" />
<meta name="description" content="<{$xoops_meta_description}>" />
<meta name="rating" content="<{$xoops_meta_rating}>" />
<meta name="author" content="<{$xoops_meta_author}>" />
<meta name="copyright" content="<{$xoops_meta_copyright}>" />
<meta name="generator" content="XOOPS" />
<title><{$xoops_sitename}> - <{$xoops_pagetitle}></title>
<!--<link href="<{$xoops_url}>/favicon.ico" rel="SHORTCUT ICON" />-->
<link rel="stylesheet" type="text/css" media="all" href="<{$xoops_url}>/xoops.css" />
<link rel="stylesheet" type="text/css" media="all" href="<{$xoops_themecss}>" />
<link rel='stylesheet' type='text/css' media='all' href="<{$xoops_url}>/modules/local_news/news.css" />

<!-- RMV: added module header -->
<{$xoops_module_header}>

<script type="text/javascript">
<!--
<{$xoops_js}>
//-->
</script>
<{if $xoops_cmod == "calendar"}>
    <style type="text/css">
        @import "<{$xoops_url}>/include/dojo/dijit/themes/tundra/tundra.css";
        @import "<{$xoops_url}>/include/dojo/dojo/resources/dojo.css";
    </style>
    <script type="text/javascript" src="<{$xoops_url}>/include/dojo/dojo/dojo.js"
                djConfig="parseOnLoad: true"></script>
    <script type="text/javascript">
           dojo.require("dojo.parser");
           dojo.require("dijit.layout.ContentPane");
           dojo.require("dijit.layout.TabContainer");
           dojo.require("dijit.form.Button");
     </script>
</head>
<body class="tundra">
<{elseif $xoops_cmod == "local_news"}>
    <script type="text/javascript" src="<{$xoops_url}>/include/dojo/dojo/dojo.js"
                djConfig="parseOnLoad: true"></script>
    <script type="text/javascript">
           dojo.require("dojo.parser");
     </script>
</head>
<body>
<{else}>
 </head>
 <body>
<{/if}>

<!-- BEGIN TOP BAR #####################################################################################################-->
  <table cellspacing="0" border="0" cellpadding="0" align="center" style="border-top: 1px solid #000000; border-left: 1px solid #000000; border-right: 1px solid #000000; text-align:right;  width:750px; height:144px; background-image:url(<{$xoops_imageurl}>images/header-1.jpg); background-position:top right; background-repeat:no-repeat;">
    <tr style="height:144px; ">
	  <td style='border-right: 0px solid #A82A1B; border-top: 0px solid #A82A1B; border-bottom: 0px solid #A82A1B; border-left: 0px solid #000000; width:150px; background-color:#FFFFFF; text-align:center; vertical-align:middle;'><img src="<{$xoops_imageurl}>images/krbd-letters.gif" width="150" height="102" alt="KRBD 105.9FM Community Radio." /></td>
      </td>
      <td style="width:600px;">&nbsp;</td>
	</TR>

	 <tr>
      <td align='center' colspan="2">
	   <{php}>
	  		include(XOOPS_ROOT_PATH."/modules/Top_Menu/top_nav_menu.php");
	  <{/php}>
	  </td>
	</TR>
</TABLE>




<!-- END TOP BAR #########################################################################################################-->



<!--BEGIN MAIN CONTENT TABLE ############################################################################################-->
  <table cellspacing="0" width="750" align="center" style="border-left: 1px solid #000000; border-right: 1px solid #000000;">
    <tr>
	<{if $xoops_cmod != "program_schedule" && count($xoops_lblocks) > 0}>
      <td id="leftcolumn" >
		<div style="text-align:center;"><img src="<{$xoops_imageurl}>images/krbd-logo.gif" width="96" height="94" alt="KRBD 105.9FM Community Radio." align="center" border="0" style="margin-top:5px; margin-bottom:5px;" /></div>
        <!-- Start left blocks loop -->
        <{foreach item=block from=$xoops_lblocks}>
          <{include file="KRBD/theme_blockleft.html"}>
        <{/foreach}>
        <!-- End left blocks loop -->
      </td>
      <{/if}>


      <td id="centercolumn">
		<!-- Display center blocks if any -->
        <{if $xoops_showcblock == 1}>

        <table cellspacing="0">
          <tr>

            <td id="centerCcolumn" colspan="2">

            <!-- Start center-center blocks loop -->
            <{foreach item=block from=$xoops_ccblocks}>
              <{include file="KRBD/theme_blockcenter_c.html"}>
            <{/foreach}>
            <!-- End center-center blocks loop -->

            </td>
          </tr>
          <tr>
            <td id="centerLcolumn">

            <!-- Start center-left blocks loop -->
              <{foreach item=block from=$xoops_clblocks}>
                <{include file="KRBD/theme_blockcenter_l.html"}>
              <{/foreach}>
            <!-- End center-left blocks loop -->

            </td><td id="centerRcolumn">

            <!-- Start center-right blocks loop -->
              <{foreach item=block from=$xoops_crblocks}>
                <{include file="KRBD/theme_blockcenter_r.html"}>
              <{/foreach}>
            <!-- End center-right blocks loop -->

            </td>
          </tr>
        </table>

        <{/if}>
        <!-- End display center blocks -->

        <div id="content">
          <{$xoops_contents}>
        </div>
      </td>

      <{if $xoops_showrblock == 1}>

      <td id="rightcolumn">

	  <{if $xoops_cmod != "pledge" && $xoops_cmod != "local_news"}>
	  <DIV style=" border-top: 0px solid #FFFFFF; text-align:center; width:100%; height:42px; vertical-align: middle; border-left: 1px solid #cccccc;   border-right: 0px solid #333333; border-bottom: 1px solid #333333;">
	  <form style="margin-top: 0px; margin-bottom: 0px; padding-top:10px;" action="<{$xoops_url}>/search.php" method="post">
      <input type="text" name="query" size="7" />
      <input type="hidden" name="action" value="results" />
      <input name="submit" type="submit" value="Search" title="Search This Web Site"/>
      </form>
	  </DIV>
	  <{/if}>
        <!-- Start right blocks loop -->
        <{foreach item=block from=$xoops_rblocks}>
          <{include file="KRBD/theme_blockright.html"}>
        <{/foreach}>
        <!-- End right blocks loop -->
      </td>

      <{/if}>

    </tr>
  </table>
<!--END MAIN CONTENT TABLE ############################################################################################-->

  <table cellspacing="0" width="750" align="center" style="border-top: 1px solid #000000; border-left: 0px solid #000000; border-right: 0px solid #000000;">
    <tr id="footerbar">
      <td><A href="<{$xoops_url}>">Home</A> | <A href="<{$xoops_url}>/modules/contact_form/">Contact Us</A> | <A href="<{$xoops_url}>/privacy.php">Privacy Policy</A> | <A href="<{$XOOPS_URL_SSL}>/user.php">Login</A></td>
    </tr>
  </table>
  <DIV align="center" style="font-family:Arial, Helvetica, sans-serif; font-size:10px; color:#333333;">Copyright &copy; <{php}>echo date("Y");<{/php}>, KRBD &#8226; Web Site Design by David Pichard</DIV>

<{if $PORT != 443}>
	<script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
	</script>
	<script type="text/javascript">
	_uacct = "UA-3121429-1";
	urchinTracker();
	</script>
<{/if}>

</body>
</html>
